Cover TOC Chap Prev Chap Prev Fig Next Fig Next Chap

Chapter 23: Adding Fog

../ch23/23fig02c.gif
Figure 23.2c

A linear, foggy world with a visibility range of 30.0. Compare with Figures 23.2a, b, and d.

23fig02c.wrl
Click on the image to view the VRML scene.

#VRML V2.0 utf8
# The VRML 2.0 Sourcebook
# Copyright (c) 1997
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
Group {
    children [
        Fog {
            color 1.0 1.0 1.0
            fogType "LINEAR"
            visibilityRange 30.0
        },
        Background { skyColor 1.0 1.0 1.0 },
        Inline { url "fogworld.wrl" }
    ]
}